package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.DailyMetrics;
import com.youlai.boot.system.model.form.DailyMetricsForm;

/**
 * 全年销售数据对象转换器
 *
 * @author xiheforever
 * @since 2025-05-11 13:29
 */
@Mapper(componentModel = "spring")
public interface DailyMetricsConverter{

    DailyMetricsForm toForm(DailyMetrics entity);

    DailyMetrics toEntity(DailyMetricsForm formData);
}
